package com.ksvip.next.components.redis;

public class RedisInfo {

    private String  host;
    private Integer port;
    private int     dbNo;
    private String  password;

    public String getHost() {
        return this.host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return this.port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public int getDbNo() {
        return this.dbNo;
    }

    public void setDbNo(int dbNo) {
        this.dbNo = dbNo;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "RedisInfo [host=" + this.host + ", port=" + this.port + ", dbNo=" + this.dbNo + ", password="
                + this.password + "]";
    }

}
